package com.xfp.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PartnerDto {

    @ApiModelProperty("合作商名称")
    private String name;
    @ApiModelProperty("联系人")
    private String contact;
    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不能为空")
    private String mobile;
    @ApiModelProperty("分成比例")
    private Integer ratio = 100;
    @ApiModelProperty("账号")
    private String account;
    @ApiModelProperty("密码")
    private String password;

}
